import {createRouter,createWebHashHistory} from "vue-router";
import jiaoshiguanli from "@/components/jiaoshiguanli";
import addquestion from "@/components/addquestion";
import createrace from "@/components/createrace";
import gonggaoguanli from "@/components/gonggaoguanli";
import importquestion from "@/components/importquestion";
import yibiaopan from "@/components/yibiaopan";
import lession from "@/components/lession";
import questionlist from "@/components/questionlist";
import race from "@/components/race";
import xitongpeizhi from "@/components/xitongpeizhi";
import xueshengguanli from "@/components/xueshengguanli";
import createlission from "@/components/createlission";
import panduanfuwuqi from "@/components/panduanfuwuqi";
const router=createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            component:yibiaopan
        },
        {
            path:'/addquestion',
            component:addquestion
        },
        {
            path:'/createlession',
            component:createlission
        },
        {
            path:'/createrace',
            component:createrace
        },
        {
            path:'/gonggaoguanli',
            component:gonggaoguanli
        },
        {
            path:'/importantquestion',
            component:importquestion
        },
        {
            path:'/jiaoshiguanli',
            component:jiaoshiguanli
        },
        {
            path:'/lession',
            component:lession
        },
        {
            path:'/pd',
            component:panduanfuwuqi
        },
        {
            path:'/ql',
            component:questionlist
        },
        {
            path:'/race',
            component:race
        },
        {
            path:'/xt',
            component:xitongpeizhi
        },
        {
            path:'/xs',
            component:xueshengguanli
        },
        ]
})
export default router